<!DOCTYPE html>
<html lang="en" xmlns:th="https://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>你好demo6</h1>
<form th:action="@{/user}" method="post">
    id: <input type="text" name="id"><br>
    password: <input type="password" name="password"><br>
    name: <input type="text" name="name"><br>
    方向: <input type="checkbox" name="languages" value="Java"> Java
    <input type="checkbox" name="languages" value="C"> C
    <input type="checkbox" name="languages" value="C++"> C++
    <input type="submit" value="提交">
</form><br>
<a th:href="@{/getAllUser}">查询所有用户</a>
</body>
</html>